home *** CD-ROM | disk | FTP | other *** search
-
-
- In the sgi 64-bit model (applies to 64-bit programs, not to 32-bit
- programs even if the 32-bit program is running on 64-bit-capable OS)
- C terminology variable sizes will be as follows:
-
-
- 8-bit: char, unsigned char, signed char
-
- 16-bit: [signed] short, unsigned short
-
- 32-bit: [signed] int, unsigned int
- float
-
- 64-bit: [signed] long, unsigned long
- all pointers
- double
-
- 128-bit: long double
-
-
- malloc space aligned to 16-byte boundaries (ie multiple of 16, for
- long double). Stack alignment of the stack pointer required to be
- 16-byte boundary.
-
- One small caveat: it is unlikely, but possible, that we would make
-
- [signed] int, unsigned int
- be 64-bits. Some vendors do.
-
- Also, since this has not yet been released, people should be warned that
- PLANS CAN CHANGE.
-
-
-
-
- Fortran terminology will be as follows:
-
- 8-bit: char, unsigned char: CHARACTER
- signed char : BYTE
-
- 16-bit: short : INTEGER*2
- unsigned short : N/A
-
- 32-bit: int : INTEGER*4
- unsigned int : N/A
- float : REAL*4
-
- 64-bit: long : INTEGER*8
- unsigned long : N/A
- pointer : POINTER
- double : REAL*8
-
- 128-bit: long double : REAL*16
-
-